Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select JS Beautifier when the list appears. The advantage of using this method is that Package Control will automatically keep plugins up
JS Beautify sublime default settings (the same as js-beautify settings),only add // jsbeautify options “format_on_save”: true. You are free to use this in any way you want, in case you find this useful or working for you but you must keep the
To properly beautify Vue files, make sure the file syntax is recongnized by Sublime as either HTML, XML or Vue. To properly beautify JSX files, make sure the file syntax is recongnized by Sublime as JavaScript and that e4x is true in your .jsbeautifyrc.